package com.company.management.config.rewads;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * 文件配置类
 */
//@Component
//@ConfigurationProperties(prefix = "custom111")
@Data
public class FileConfigProperties {
    private String baseurl;
    private String avartar_folder;
    private String apks_folder;;
    private static String baseUrl;
    private static String path;

//    @PostConstruct
//    public void init() {
//        FileConfigProperties.path = this.apks_folder;
//        FileConfigProperties.baseUrl = this.baseurl;
//    }
//    public static String getPath() {
//        return path;
//    }
//    public static String getBaseUrl() {
//        return baseUrl;
//    }
}
